<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>
<body>
  <div id="root">
    <div>
      <p>{{ name }}</p>
      <p>{{title}}</p>
      <h3>{{book.name}}</h3>
      <h3>{{ book.totalPage }}</h3>
      <h3>{{book.nothing}}</h3>
    </div>
  </div>

  <script>

    function HVue(options){
      // 内部数据使用 _下划线开头， 只读数据使用 $开头
      this._el = options.el
      this._data = options.data
    }

    HVue.prototype.update = function () {

    }

    let app = new HVue({
      el: "#root",
      data: {
        name: 'hanhanooo',
        title: 'hello world'
      }
    })

  </script>
</body>
</html>